<?php
namespace app\supplier\shophttp;

class Product extends Base
{

    //获取所有群活码列表
    public function Info($id = '')
    {
        $url = $this->baseUrl . '/outapi/product/' . $id;
        // dump($url);
        $response = $this->get($url, []);
        return $response['data'];
    }
    //获取所有群活码列表
    public function Lists()
    {
        $url = $this->baseUrl . '/outapi/product/list';
        // dump($url);
        $response = $this->get($url, []);
        return $response['data'];
    }
}